package com.bdzl.biz.dao;

import com.bdzl.pub.entity.loan.UserBlackDO;

import java.util.List;
import java.util.Map;

/**
 * 客户黑名单表：主要用于记录客户黑名单信息。
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:02:10
 */
public interface UserBlackDao {

	UserBlackDO get(Integer blackId);

	List<UserBlackDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(UserBlackDO userBlack);

	int update(UserBlackDO userBlack);

	int remove(Integer black_id);

	int batchRemove(Integer[] blackIds);

	UserBlackDO getByBlackCardId(Integer blackCardid);
}
